/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package appicalculadora;

/**
 *
 * @author Oscar Franco
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        
        ICalculadora calculadora;
        
        calculadora= FabricaCalculadora.obtenerCalculadora(1);
        
        System.out.println(calculadora.sumar("10", "20"));
        calculadora= FabricaCalculadora.obtenerCalculadora(2);
        System.out.println(calculadora.sumar("10.5", "20.6"));
        
        
        
        
    }

}
